package cn.rocksolid.sport.security.entity;

import cn.rocksolid.sport.common.Constant.AccessType;
import cn.rocksolid.sport.common.entity.AuditedEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * System access token entity
 */
@TableName("t_token")
@Data
public class TokenEntity extends AuditedEntity {
  /**
   * Random serialVersionUID
   */
  private static final long serialVersionUID = 1L;
  /**
   * Access Id
   */
  private String accessId;
  /**
   * Access type
   */
  private AccessType accessType;
  /**
   * Expire time
   */
  private Date expireTime;
}
